/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.terminalrodoviario;

/**
 *
 * @author marcelo
 */
public class RouteTravel extends BaseEntity<RouteTravel> {
    private Route route;
    private int type;

  // <editor-fold defaultstate="collapsed" desc="Builders">
    public RouteTravel(){}
    public RouteTravel(Route route, int type) {
        this.route = route;
        this.type = type;
    }
   
    public Route getRoute() {
        return route;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setRoute(Route route) {
        this.route = route;
    }
    // </editor-fold>
    
}
